package com.hit.server.api.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hit.server.api.entity.SysCustomerEntity;
import com.hit.server.api.dto.SysCustomerQueryDTO;
import com.hit.server.api.dto.SysCustomerSaveDTO;
import com.hit.server.api.dto.SysCustomerUpdateDTO;
import com.hit.server.api.vo.SysCustomerVO;

import java.util.List;

public interface SysCustomerService extends IService<SysCustomerEntity> {

	Page<SysCustomerVO> getSysCustomerPage(Page page, SysCustomerQueryDTO dto);
	
	SysCustomerVO getSysCustomerById(Long id);
	
	Boolean saveSysCustomer(SysCustomerSaveDTO dto);
	
	Boolean updateSysCustomerById(SysCustomerUpdateDTO dto);
	
	Boolean removeSysCustomerBatchByIds(List<Long> ids);
	
}